package com.example.flower_shop.enums;

import lombok.Getter;

@Getter
public enum OrderStatus {
    PENDING_PAYMENT(1, "待付款"),
    PAID(2, "已付款"),
    SHIPPED(3, "已发货"),
    COMPLETED(4, "已完成"),
    CANCELLED(5, "已取消");

    private final Integer code;
    private final String description;

    OrderStatus(Integer code, String description) {
        this.code = code;
        this.description = description;
    }
}